package com.ppxkk.city.http.api;

import com.ppxkk.city.http.BaseAppResponse;
import com.ppxkk.city.http.BaseHeWeatherCityResponse;
import com.ppxkk.city.model.UpdateInfo;

import retrofit2.http.GET;
import rx.Observable;

/**
 * Created by ppxkk on 57
 */
//Todo 更新数据
public interface AppController {



    @GET("http://app.fangfat.com/app/appupdate.json")
    Observable<BaseAppResponse<UpdateInfo>> checkUpdate();

    @GET("http://bak.agyer.xyz/s/weatherkey.json")
    Observable<BaseAppResponse<String>> getWeatherKey();

    @GET("http://bak.agyer.xyz/s/heweather_city_list.json")
    Observable<BaseHeWeatherCityResponse> getHeWeatherCityList();
}
